foo
bar
<!-- [ 676156 ] tidy --input-encoding is broken.
     When run with file I/O and -utf8, foo gets truncated to "fo" 
-->
